<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人中心 - 小说世界</title>
    <link rel="stylesheet" href="css/1.css">
    <style>
        .personal-center {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        .user-info {
            background-color: #fff;
            padding: 20px;
            margin-bottom: 20px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
        }
        .avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            margin-right: 20px;
        }
        .user-details h2 {
            margin-bottom: 10px;
        }
        .user-actions {
            margin-top: 10px;
        }
        .btn {
            display: inline-block;
            padding: 10px 15px;
            background-color: #4CAF50;
            color: #fff;
            text-decoration: none;
            border-radius: 3px;
            margin-right: 10px;
        }
        .stats-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }
        .stat-card {
            flex: 1;
            min-width: 250px;
            background-color: #fff;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .stat-card h3 {
            margin-bottom: 15px;
        }
        .progress-bar {
            width: 100%;
            background-color: #e0e0e0;
            border-radius: 5px;
            overflow: hidden;
            margin-top: 10px;
        }
        .progress {
            height: 20px;
            background-color: #4CAF50;
            text-align: center;
            line-height: 20px;
            color: white;
        }
        @media (max-width: 768px) {
            .user-info {
                flex-direction: column;
                text-align: center;
            }
            .avatar {
                margin-right: 0;
                margin-bottom: 20px;
            }
            .stats-container {
                flex-direction: column;
            }
        }
    </style>
</head>
<body>
    <header>
        <h1>小说世界</h1>
        <nav>
            <ul>
                <li><a href="index.html">首页</a></li>
                <li><a href="bookshelf.html">我的书架</a></li>
                <li><a href="fantasy.html">玄幻小说</a></li>
                <li><a href="magical.html">奇幻小说</a></li>
                <li><a href="metropolis.html">都市小说</a></li>
				<li><a href="review.html">讨论区</a></li>
                <li><a href="profile.html" class="active">个人中心</a></li>
            </ul>
        </nav>
    </header>

    <main class="personal-center">
        <section class="user-info">
            <img src="img/avatar-placeholder.jpg" alt="用户头像" class="avatar">
            <div class="user-details">
                <h2>陈宁</h2>
                <p>加入时间：2023年6月1日</p>
                <div class="user-actions">
                    <a href="#" class="btn">编辑资料</a>
                    <a href="#" class="btn">修改密码</a>
                </div>
            </div>
        </section>

        <div class="stats-container">
            <section class="stat-card">
                <h3>阅读统计</h3>
                <p>总阅读时长：120小时</p>
                <p>已读完本数：25本</p>
                <p>等级：黄金读者</p>
                <p>收藏书籍：50本</p>
            </section>
            <section class="stat-card">
                <h3>阅读目标</h3>
                <p>本月阅读目标：15/20本</p>
                <div class="progress-bar">
                    <div class="progress" style="width: 75%;">75%</div>
                </div>
                <p>年度阅读目标：120/200本</p>
                <div class="progress-bar">
                    <div class="progress" style="width: 60%;">60%</div>
                </div>
            </section>
            <section class="stat-card">
                <h3>最近动态</h3>
                <p>最近阅读：《捞尸人》</p>
                <p>最近评论：《1979黄金时代》 - "精彩绝伦！"</p>
                <p>最近收藏：《黑帆》</p>
            </section>
        </div>
    </main>

    <footer>
        <p>&copy; 2024 Novel World. All rights reserved.</p>
    </footer>
</body>
</html>